isInstance

open fun isInstance(value: Any, type: Class<out Any>)

test if a string lengths is inside the range min … max

Parameters

value

value to test

type

type to check against

Throws

when value is outside min … max


open fun isInstance(value: Any, type: Class<out Any>, name: String)

test if a string lengths is inside the range min … max

Parameters

value

value to test

type

type to check against

name

value name for better error message

Throws

when value is outside min … max